package com.tianlang.util;

/******
 * 搜索条件实体类
 * 
 * @author mchp
 * 
 */
public class CompareColumn implements java.io.Serializable {

	private static final long serialVersionUID = 1L;
	private String key;
	private String dir;
	private Object value;
	public static String ge = "ge";
	public static String le = "le";
	public static String gt = "gt";
	public static String lt = "lt";
	public static String eq = "eq";

	public CompareColumn(String key, String dir, Object value) {
		this.key = key;
		this.dir = dir;
		this.value = value;
	}

	public String getKey() {
		return key;
	}

	public void setKey(String key) {
		this.key = key;
	}

	public String getDir() {
		return dir;
	}

	public void setDir(String dir) {
		this.dir = dir;
	}

	public Object getValue() {
		return value;
	}

	public void setValue(Object value) {
		this.value = value;
	}

}
